package avicit.bdp.dcs.precheck.service;

import avicit.bdp.common.base.BaseService;
import avicit.bdp.dcs.precheck.dao.JobtypePrecheckDao;
import avicit.bdp.dcs.precheck.dto.JobtypePrecheckDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @金航数码科技有限责任公司
 * @作者：liyb
 * @邮箱：liyb@avic-digital.com
 * @创建时间：2020-08-05 14:35
 * @类说明：
 * @修改记录：
 */
@Service
@Transactional
public class JobTypePrecheckService extends BaseService<JobtypePrecheckDao, JobtypePrecheckDTO> {

    @Autowired
    private JobtypePrecheckDao jobtypePrecheckDao;

    public List<JobtypePrecheckDTO> getJobtypePrecheckList(Integer jobType){
        return jobtypePrecheckDao.getJobtypePrecheckList(jobType);
    }

}